package cn.mw.cmdb.param;

import com.google.common.base.Strings;
import lombok.Builder;
import lombok.Data;


@Data
@Builder
public class DropDownNamesDesc {
    //接口或者磁盘分区名称
    private String name;
    //接口描述或者磁盘分区描述
    private String description;

    public void setDescription(String description) {
        this.description = Strings.isNullOrEmpty(description) ? null : description;
    }

    public DropDownNamesDesc(String name, String description) {
        this.name = name;
        this.description = Strings.isNullOrEmpty(description) ? null : description;
    }

    public DropDownNamesDesc() {
    }
}
